package com.beiben.statistics.mapper;

import com.beiben.statistics.vo.NameValueVo;
import com.beiben.statistics.vo.RecordSearchParamVo;
import com.beiben.statistics.vo.WorkItemVo;
import com.beiben.work.process.domain.FileProcessUser;

import java.util.List;

/**
 * 综合工时统计看板mapper
 *
 * @author xgq
 * @date 2020-12-21
 */
public interface CompositeMapper {

    //查询统计所的总工作工时
    public List<WorkItemVo> selectWorkDeptSuo(RecordSearchParamVo recordSearchParamVo);

    //查询统计科室的总工作工时
    public List<WorkItemVo> selectWorkDeptShi(RecordSearchParamVo recordSearchParamVo);

    //查询人员总工作工时
    public List<WorkItemVo> selectWorkTotalPeople(RecordSearchParamVo recordSearchParamVo);

    //查询所所有人员总工时
    public List<NameValueVo> selectWorkHoursPeopleSuo(RecordSearchParamVo recordSearchParamVo);

    //查询科室所有人员总工时
    public List<NameValueVo> selectWorkHoursPeopleShi(RecordSearchParamVo recordSearchParamVo);

    /**
     * 查询任务分配列表
     *
     * @param recordSearchParamVo
     * @return 任务分配集合
     */
    public List<FileProcessUser> selectFileProcessUserList(RecordSearchParamVo recordSearchParamVo);

    /**
     * 查询人员工时
     *
     * @param recordSearchParamVo
     * @return 任务分配集合
     */
    public Integer selectUserWorkHours(RecordSearchParamVo recordSearchParamVo);

}
